<%@ page language="java" contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> 
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %> 
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %> 

<% 
	String path = request.getContextPath(); 
	String basePath = request.getScheme()+"://"+request.getServerName()
		+":"+request.getServerPort()+path+"/"; 
 %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<script type="text/javascript" src="<%=basePath%>js/jquery-1.4.2.min.js"></script>
<link href='<%=basePath%>extend/css/print.css' rel="stylesheet"/>
<title>尊沃认证保障证书</title>
</head>
<body class="content">
<div class="title">
	<h1>尊沃认证保障证书</h1>
	<div class="time_label"></div>
	<!-- <button id="bt_export" class="btn_print hidden-print" type="button">打印</button> -->
</div>
<div>
	<ul class="list_print">
		<li>保修编号：${mainVO.pllicy_no}</li>
		<li class="print_title">1、车主信息</li>
		<li>车主姓名：${mainVO.buyer_org_name}</li>
		<li>地址：${mainVO.buyer_addresss}</li>
		<li>邮编：${mainVO.postalcode1}&nbsp;&nbsp;联系电话：${mainVO.buyer_linkedcontact}&nbsp;&nbsp;电子邮件：${mainVO.buyer_mail}</li>
		<li class="print_title">2、车辆信息</li>
		<li>车辆型号：${mainVO.pk_series}</li>
		<li>原厂保修起始日期：${mainVO.warranty_startdate}&nbsp;&nbsp;车牌号码：${mainVO.plate_number}</li>
		<li>车架号码(VIN)：${mainVO.vin}</li>
		<li>车辆售出价格：${mainVO.invoice_price}元</li>
		<li>购买日期：${mainVO.invoice_date}&nbsp;&nbsp;购买时里程读数：${mainVO.mileage}</li>
		<li class="print_title">3、保修登记</li>
		<li>保障范围：${mainVO.policy_product}</li>
		<li>质量保障开始日期：${mainVO.policy_statdate}&nbsp;&nbsp;质量保障截止日期：${mainVO.policy_enddate}</li>
		<li class="print_title">4、经销商信息</li>
		<li>出售该车的沃尔沃经销商：${mainVO.pk_org_name}</li>
		<li>地址：${mainVO.adress_org}</li>
		<li>沃尔沃客户服务中心热线：${mainVO.dianhua}</li>
		<li>邮编：${mainVO.postalcode_org}&nbsp;&nbsp;联系电话：${mainVO.tel_usedcar_business_man1}</li>
		<li>&nbsp;</li>
		<li>&nbsp;</li>
		<li>&nbsp;</li>
		<li class="txt">车主需遵守本手册的约定条款方能享受质量保障权益。</li>
		<li class="txt">本人签字确认已收到沃尔沃保障手册，已仔细阅读并充分理解手册中的所有条款，完全同意并接受前述所有保修条款及相关记录。</li>
		<li>&nbsp;</li>
		<li class="line"></li>
		<li class="date">沃尔沃授权经销商代表签字/日期</li>
		<li class="date">车主签字/日期</li>
		<li class="date">沃尔沃授权确认</li>
	</ul>
</div>
</body>
<script type="text/javascript">
$(document).ready(function(){
	//$("#bt_export").click(function(){
		//$(this).hide();
		var myDate = new Date();
		var Week = ['日','一','二','三','四','五','六'];  
	    str = '星期' + Week[myDate.getDay()];
		var mytime=myDate.getYear()+"-"+myDate.getMonth()+"-"+myDate.getDate()+"&nbsp;"+myDate.getHours()+":"+myDate.getMinutes()+":"+myDate.getSeconds()+"&nbsp;"+str;
		//$(".time_label").html(mytime);
		//$(".time_label").show();
		window.print();
	//});
});
</script>
</html>
